Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Agent.AspNetCore Namespace / LoupeAgentBuilderExtensions Class / AddAspNetCoreDiagnostics Method / AddAspNetCoreDiagnostics(ILoupeAgentBuilder,Func<IPrincipal,Lazy<ApplicationUser>,Boolean>) Method
The Loupe.Agent.Core.Services.ILoupeAgentBuilder instance.
The function to use for application user mapping from an IPrincipal

In This Topic
    AddAspNetCoreDiagnostics(ILoupeAgentBuilder,Func<IPrincipal,Lazy<ApplicationUser>,Boolean>) Method
    In This Topic
    Adds ASP.NET Core diagnostic listeners for standard Loupe metric generation.
    Syntax

    Parameters

    builder
    The Loupe.Agent.Core.Services.ILoupeAgentBuilder instance.
    applicationUserFunc
    The function to use for application user mapping from an IPrincipal

    Return Value

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also